#ifndef WIDGET_FUNCB_SMART_VISION_H
#define WIDGET_FUNCB_SMART_VISION_H

#include <QDebug>
#include <QWidget>
#include <QString>
#include <QPixmap>
#include <QFileDialog>
#include <QMessageBox>

#include "my_image.h"
#include "my_http.h"

namespace Ui {
class Widget_funcB_Smart_vision;
}

class Widget_funcB_Smart_vision : public QWidget
{
    Q_OBJECT
    
public:
    explicit Widget_funcB_Smart_vision(QWidget *parent = nullptr);
    ~Widget_funcB_Smart_vision();
    // 图片显示 控制比例
    void Show_image(void);
private:
    // 图像路径
    QString img_path;

    My_Http Http;

    QByteArray image_Base64;
private slots:
    
    void on_open_file_Button_clicked();

    void on_Token_Button_clicked();

    void on_pushButton_2_clicked();

    void on_pushButton_clicked();

private:
    Ui::Widget_funcB_Smart_vision *ui;
};

#endif // WIDGET_FUNCB_SMART_VISION_H
